call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Thu, 23 Sep 2021 13:02:33 +0000 (14:02 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Thu, 23 Sep 2021 13:02:33 +0000 (14:02 +0100)
commitae737903d7931bc2bd7b8f31cd571f59d7e024ce
treec71a4a540ff9cb39dece52988cacd37506a5db8a
parent15a7aca097b28dd5c610ace07f3ac56be39ece6e
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json